<template>
	<view>
		<view class="header">
			<x-status-bar></x-status-bar>
			<view class="flex-center-between header-navbar">
				<x-back-btn></x-back-btn>
				<text class="common-title linecamp-1"></text>
				<view style="width: 24rpx;"></view>
			</view>
		</view>
		
		<video
		id="video-show"
		:src="baseUrl + url"
		style="width: 100vw;height: calc(100vh - env(safe-area-inset-bottom) - var(--status-bar-height) - 112rpx);"
		controls autoplay></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			}
		},
		onLoad({ url }) {
			let arr = url.split('?')
			url = arr[0]
			this.url = decodeURIComponent(url)
		}
	}
</script>

<style>
</style>
